package java03.bll;

import java03.bll.standard.IShape;

 abstract class A implements IShape{

}


public class Square implements IShape {
    private double width;

    public Square(double width) {
        this.width = width;
    }


    @Override
    public double getArea() {
        return width * width + IShape.OFFSET;
    }

    @Override
    public double getPerimeter() {
        return width * 4 + Square.OFFSET;
    }
}
